package command
{
	//获取桌子列表
	
	import libs.cairngorm.commands.Command;
	import libs.cairngorm.control.CairngormEvent;
	import flash3.net.MsgPacket;
	import flash3.net.NetFacade;
	import view.plugin.LoaderView;
	import vo.*;
	import model.*;
	import net.*
	public class TableInfoCommond implements Command
	{
		private var data:Object = null;
		public function TableInfoCommond()
		{
		}
		public function execute(e:CairngormEvent):void
		{
			LoaderView.i.show(true);
			LoaderView.i.text = "正在获取桌子列表...";
			
			var tableInfoRequest:TableRequest = new TableRequest();
			tableInfoRequest.wSiteID = MeInfoModel.i.serverInfo.wSiteID;
			NetFacade.i.send(TableGroup.MDM_GR_STATUS, TableGroup.SUB_GR_TABLE_INFO_REQ, tableInfoRequest);
			
			var userStatusRequest:UserStatusRequest = new UserStatusRequest();
			userStatusRequest.wSiteID = MeInfoModel.i.serverInfo.wSiteID;
			NetFacade.i.send(UserGroup.MDM_GR_USER, UserGroup.SUB_GR_USER_STATUS_REQ, userStatusRequest);
		}
	}
}